const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    host: '0.0.0.0',
    // host: 'localhost',
    port: 8080,
    https: false,
    open: true, //配置自动打开浏览器

    proxy: {
      '/admin': {
        target: 'http://ceshi5.dishait.cn',
        changeOrigin: true,
        pathRewrite: {
          '^/admin': '/admin'
        }
      }
    }
  }
})
